//
//  YHIMUIKitConvCellData.m
//  YHChat
//
//  Created by 银河 on 2019/2/18.
//  Copyright © 2019 yinhe. All rights reserved.
//

#import "YHIMUIKitConvCellData.h"

#import "YHIMUIKitHelper.h"

@implementation YHIMUIKitConvCellData

- (instancetype)initWithConv:(TIMConversation *)conv
{
    self = [super init];
    if (self) {
        YHIMUIKitConvCellData *cellData = [YHIMUIKitHelper cellDataWithConv:conv];
        self.convID = cellData.convID;
        self.convType = cellData.convType;
        self.title = cellData.title;
        self.subTitle = cellData.subTitle;
        self.messageDate = cellData.messageDate;
        self.unReadCount = cellData.unReadCount;
    }
    return self;
}

@end
